package cn.tedu.spring.eg3;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @Author: Miyako
 * @Date: 2024-08-03-9:47
 * @Description:
 */
public class TestController {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext("cn.tedu.spring.eg3");
        ShopController bean = context.getBean(ShopController.class);
        System.out.println("4.use");
        context.close();


    }
}
